$(function(){
	
	
	
	
    $(".page_plugin_button_2").click(function() {
		 $(".big_box1").hide();
         $(".big_box2").show();  // 改变显隐状态
		 $(".page_plugin_button_2").css("background-color","#f22a80").css("color","#fff");
		 $(".page_plugin_button_1").css("background-color","#fff").css("color","#848585").css("border-color","#b8b8b8");
    })
    
      $(".page_plugin_button_1").click(function() {
		 $(".big_box2").hide();
         $(".big_box1").show().css("display","block");  // 改变显隐状态 
         
		 $(".page_plugin_button_2").css("background-color","#fff").css("color","#848585");
		 $(".page_plugin_button_1").css("background-color","#f22a80").css("color","#848585").css("border-color","#b8b8b8");
    })
   
   
   
   
   var num =1; 
   $(".hb .icon a").click(function(){
   	var i = $(this).index() + 1;
   	var addr = "images/au_img0"+i+".jpg";
   	$("#banner").attr("src",addr);
   })
   
   $(".hb .left").click(function(){
   	if(num == 1){
   		num = 2;
   	}
   	var i = num -1;
   	num = i;
   	var addr = "images/au_img0"+i+".jpg";
   	$("#banner").attr("src",addr);
   })
   
   $(".hb .right").click(function(){
   	if(num == 2){
   		num = 1;
   	}
   	var i = num +1;
   	num = i;
   	var addr = "images/au_img0"+i+".jpg";
   	$("#banner").attr("src",addr);
   })
   
})